package facade;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import model.PersonCompetence;

/**
 *
 * @author ZimmE
 */
@Stateless
public class PersonCompetenceFacade extends AbstractFacade<PersonCompetence> {

    @PersistenceContext(unitName = "MyGronaPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public PersonCompetenceFacade() {
        super(PersonCompetence.class);
    }
}
